import { Module } from '@nestjs/common';
import { DictService } from './dict.service';
import { DictController } from './dict.controller';
import { SystemDictTypeEntity } from './entities/dict.type.entity';
import { SystemDictDataEntity } from './entities/dict.data.entity';
import { TypeOrmModule } from '@nestjs/typeorm';

@Module({
  imports: [
    TypeOrmModule.forFeature([
      SystemDictTypeEntity,
      SystemDictDataEntity
    ]),
  ],
  controllers: [DictController],
  providers: [DictService],
})
export class DictModule { }
